<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="css/element.ui.css"/>
    <title>Title</title>
    <style>
        *{font-family: 宋体}
        .card{
            width: 19.8%;
            border: 1px solid #ccc;
            float: left;
            height: 100px;
            text-align: center;
            background-color: #66b1ff;
            cursor: pointer;
        }
        .card span{line-height: 100px;}
    </style>
</head>
<body>
    <div id="app">
        <div>
            <el-button type="primary" @click="redirect('fs/mybadisWhere.html')">SQL拼接</el-button>
            <el-button type="primary" @click="say">说</el-button>
        </div>
    </div>
</body>
<script src="js/vue.min.js"></script>
<script src="js/element.ui.js"></script>
<script>
    var width = window.innerWidth;
    var cardWidth = width / 5;
    var v = new Vue({
        el : "#app",
        methods : {
            say : function(){
                testController.say('你好');
            },
            redirect : function(url){
                window.location.href = url;
            }
        }
    });
</script>
</html>